Boost.Endian
This is an older version and was released in 2016. The current version is 1.86.0.
C++
11
Added in Boost
1.58.0
Types and conversion functions for correct byte ordering and more regardless of processor endianness.